﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TemplateWeb.Models.ViewModels.GroupViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="DivTinTucVTA" style="display: block;">
        <table id="VTA_LoadContent_ctl00_VTA_LoadBody1_TblLoadQuanCao" style="width: 100%;
            border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0">
            <tbody>
                <tr>
                    <td style="width: 100%;" valign="top">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                                <tr>
                                    <td class="maintabletitlebg" align="center" height="42">
                                        <h1>
                                            Tin tức</h1>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="graytdborder" style="border-right-width: 0px ! important;" align="center">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                            <tbody>
                                                <tr>
                                                    <td class="tdcell" align="left" width="100%">
                                                        <table cellspacing="2" cellpadding="5" border="0" width="100%">
                                                            <tbody>
                                                                <% foreach (var obj in Model.TinTucModel.GetModel.LstObjModel)
                                                                   { %>
                                                                <tr>
                                                                    <td width="125">
                                                                        <a href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = obj.ID }) %>">
                                                                            <img class="imageBorder" width="125" height="90" src="../../Content/Images/Items/<%= obj.HinhMinhHoa %>">
                                                                        </a>
                                                                    </td>
                                                                    <td valign="top">
                                                                        <span class="titleProduct"><a href="<%= Url.Action("ChiTietTinTuc", "Home", new { id = obj.ID }) %>">
                                                                            <%= obj.TieuDe %></a>
                                                                            <br>
                                                                        </span><span class="newdetail"><span style="font-family: Arial;">
                                                                            <%= Html.Truncate(obj.NoiDungRutGon, 300) %>
                                                                        </span></span>
                                                                    </td>
                                                                </tr>
                                                                <% } %>
                                                            </tbody>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</asp:Content>
